<?php
echo $form->create('User', array('action' => 'register'));
echo $form->input('email', array('label' => '我的邮箱', 'div' => 'clearfix', 'after' => '</div>', 'between' => '<div class="input">'));
echo $form->input('password', array('label' => '创建密码', 'div' => 'clearfix', 'after' => '</div>', 'between' => '<div class="input">'));
echo $form->input('password_confirm', array('label' => '确认密码', 'type' => 'password', 'div' => 'clearfix', 'after' => '</div>', 'between' => '<div class="input">'));
?>
<div class="actions">
<?php
echo $form->submit('立即注册', array('class' => 'btn primary', 'div' => 'false'));
?>
</div>
<?php
echo $form->end();
?>
